package com.yuanchu.search.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yuanchu.search.entity.YoshopGoodsEntity;
import com.yuanchu.search.entity.YoshopUploadFileEntity;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-01-20 20:16
 */
@Data
@ToString
public class QueryGoodsList extends YoshopGoodsEntity implements Serializable {

    @JsonProperty("goods_sales")
    private int goodsSales;
    // @JsonProperty("goods_image")
    // private String goodsImage;

    @JsonProperty("goods_images")
    private List<YoshopUploadFileEntity> goodsImages;

}
